package com.webcamtracker.ms2;

import org.tiling.memo.Memoizer;

public class ModelParametersFactoryImpl implements ModelParametersFactory {
    public ModelParameters createModelParameters(int halfHeight, int halfWidth) {
        return ModelParameters.createModelParameters(halfHeight, halfWidth);
    }

    public static ModelParametersFactory getInstance() {
        return modelParametersFactory;
    }

    private static ModelParametersFactory modelParametersFactory;
    static {
        Object o = Memoizer.memoize(new ModelParametersFactoryImpl());
        System.out.println("o " + o.getClass());
        modelParametersFactory = (ModelParametersFactory) o;
    }
}
